<style>
    .btn:hover{
         background: #FD2D69 !important;
         color: #fff !important;
     }
 </style>
<!-- 操作栏 -->
<!-- 0待确认, 1已确认/待支付, 2已支付/待发货, 3已发货/待收货, 4已完成, 5已取消, 6已关闭 -->
<div style="display: flex;align-items: center;margin-top: 15%;">
    <a
style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;" 
 href="{{:MyUrl('index/order/detail', ['id'=>$module_data['id']])}}" class="btn am-btn-primary am-btn-xs am-radius " target="_blank">
    <span>{{:MyLang('detail_title')}}</span>
</a>
{{if !empty($module_data['operate_data'])}}
    {{if $module_data['operate_data']['is_pay'] eq 1}}
        <button
        style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;margin-left: 10px" 
         type="button" class="btn  am-btn-primary am-btn-xs am-radius  submit-pay" data-id="{{$module_data.id}}" data-payment-id="{{$module_data.payment_id}}">
            <span>{{:MyLang('payment_title')}}</span>
        </button>
    {{/if}}
    {{if $module_data['operate_data']['is_collect'] eq 1}}
        <button
        style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;margin-left: 10px" 
         type="button" class="btn  am-btn-primary am-btn-xs am-radius  submit-ajax submit-confirm" data-url="{{:MyUrl('index/order/collect')}}" data-id="{{$module_data.id}}" data-view="reload" data-msg="{{:MyLang('collect_confirm_tips')}}">
            <span>{{:MyLang('collect_title')}}</span>
        </button>
    {{/if}}
    {{if $module_data['operate_data']['is_cancel'] eq 1}}
        <button
        style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;margin-left: 10px" 
         type="button" class="btn  am-btn-primary am-btn-xs am-radius  submit-ajax submit-cancel" data-url="{{:MyUrl('index/order/cancel')}}" data-id="{{$module_data.id}}" data-view="reload">
            <span>{{:MyLang('cancel_title')}}</span>
        </button>
    {{/if}}
    {{if $module_data['operate_data']['is_comments'] eq 1}}
        <a
        style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;margin-left: 10px;" 
         href="{{:MyUrl('index/order/comments', ['id'=>$module_data['id']])}}" target="_blank" class="btn  am-btn-primary am-btn-xs am-radius ">
            <span>{{:MyLang('comment_title')}}</span>
        </a>
    {{/if}}
    {{if $module_data['operate_data']['is_delete'] eq 1}}
        <button
        style="width: 60px;background: #FD2D69;color: #fff;font-size: 14px;border: 1px solid #FD2D69;margin-left: 10px" 
         type="button" class="btn  am-btn-primary am-btn-xs am-radius  submit-delete" data-url="{{:MyUrl('index/order/delete')}}" data-id="{{$module_data.id}}" data-view="reload">
            <span>{{:MyLang('delete_title')}}</span>
        </button>
    {{/if}}
{{/if}}
</div>